package wyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dto.Result;
import com.entity.User;
import org.springframework.web.multipart.MultipartFile;


public interface UserService extends IService<User> {
    User login(String name, String password);

    User getUserByUname(String uName);


    Result register(String uName, String password, String nickName, String motto, String email, String birthday, String intro, String[] area, MultipartFile headImg);

    Result checkUserRight(User user);
}
